package com.example.tms.dto;

import com.example.tms.entity.EmployeeNode;
import lombok.Data;

import java.util.List;

@Data
public class CollaboratorDTO {
    private EmployeeNode colleague;
    private List<String> commonProjects;

    public CollaboratorDTO(EmployeeNode colleague, List<String> commonProjects) {
        this.colleague = colleague;
        this.commonProjects = commonProjects;
    }

    public EmployeeNode getColleague() {
        return colleague;
    }

    public void setColleague(EmployeeNode colleague) {
        this.colleague = colleague;
    }

    public List<String> getCommonProjects() {
        return commonProjects;
    }

    public void setCommonProjects(List<String> commonProjects) {
        this.commonProjects = commonProjects;
    }
}